package com.gxuwz.lhleavesys.dao;

import com.gxuwz.lhleavesys.entity.User;
import java.sql.SQLException;
import java.util.List;

public interface UserDao {

    //插入
    void insert(User user) throws SQLException;

    //更新
    void delete(String id) throws SQLException;

    //修改
    boolean update(User user) throws SQLException;

    //查詢
    List<User> query(User user) throws SQLException;

    User queryUser() throws SQLException;
}
